PM-B communication driver

 

PM-B communication driver is the driver to communicate with PM series power meter controller of Light Star Instrument Co., Ltd. in Korea.

PM-B communicaton compatible with the controller PM-? series and Analog Signal Input( KCAI )/Digital Signal Input Module ( KCDI ) module.

 

1. Read settings

 

<Figure 1> is read Schedule setting example of PM-B communication driver.

<Figure 1> Read Schedule setting example of PM-B communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to setting of controller.

 

PM-B communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) STATION – station number of PM-B controller.

2) Read memory type – memory = D( analog ), X ( digital ).  (refer to <Table 1> ~ <Table 2> )

3) Read start address – start reading address in memory.

4) Save Start Address for Communication Server – Input save start address of communication server.

5) Read Size – word unit read size.

 

Read schedule example)

 READ, 1,  D,  0,   0,   14,

READ, 1,  X,  0,   20,   1,

 

<Table 1>, <Table 2> are address and contents of D and X memory type.

Address(word unit)

Contents

D0000

volatge (V1)

D0001

volatge (V2)

D0002

volatge (V3)

D0003

current (A1)

D0004

current (A2)

D0005

current (A3)

D0006

power (W)

D0007

power factor(PF)

D0008

reactive power (VAR)

D0009

frequency(Hz)

D000A

amount of power (WH higher)

D000B

amount of power(WH lower)

D000C

amount of reactive power(VARH higher)

D000D

amount of reactive power(VARH lower)

<Table 1> Address and contents of D memory type
Address(word unit)

Contents

X0000

Digital Input 1

X0001

Digital Input 2

X0002

Digital Input 3

X0003

Digital Input 4

X0004

Digital Input 5

X0005

Digital Input 6

X0006

Digital Input 7

X0007

Digital Input 8

X0008

Digital Input 9

X0009

Digital Input 10

X000A

Digital Input 11

X000B

Digital Input 12

X000C

Digital Input 13

X000D

Digital Input 14

X000E

Digital Input 15

X000F

Digital Input 16

<Table 2> Address and contents of X memory type

 

2. Write settings

 PM-B communication driver don't support 'write settings'.